package com.ddwl.schema.bo.user;

import com.ddwl.schema.bo.base.BaseBo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import javax.validation.constraints.NotNull;

/**
 * @author zach
 */
@ApiModel(description = "app登录入参")
@Setter
@Getter
public class AppLoginBo extends BaseBo {

    @NotNull
    @ApiModelProperty("类型 0 短信验证码登录，2 账号密码登录,1 微信登录")
    private String type;

    @ApiModelProperty("手机号码")
    private String mobile;

    @ApiModelProperty("登录密码")
    private String password;

    @ApiModelProperty("登录验证码")
    private String code;

    @ApiModelProperty("微信OpenId")
    private String openId;

    @ApiModelProperty("微信appId")
    private String appId;

    @ApiModelProperty(value = "设备唯一码",hidden = true)
    private String diverId;

    @ApiModelProperty(value = "产品",hidden = true)
    private String product;
    @ApiModelProperty(value = "通用ID")
    private String unionId;
    @ApiModelProperty("个推cid")
    private String clientId;
    @ApiModelProperty("登录来源 0：app 1：五八马小程序")
    private String loginSource;

}
